//
//  HomeFirstPageHeaderView.h
//  JiaoX
//
//  Created by yinqy on 15/1/30.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeFirstPageInfo.h"
#import "SGFocusImageFrame.h"
#import "HomeSectionOne.h"
#import "HomeSectionTwo.h"
#import "HomeSectionThree.h"
#import "HomeSectionFour.h"
#import "ProductItemInfo.h"


@protocol HomeFirstPageHeaderViewDelegate <NSObject>

@optional
- (void)sectionOneClick:(NSString *)urlStr;
- (void)sectionTwoClick:(NSString *)urlStr;
- (void)sectionThreeClick:(NSString *)urlStr;
- (void)sectionFourClick:(ProductItemInfo *)prodItem;
@end

@interface HomeFirstPageHeaderView : UIView
@property (nonatomic,strong)SGFocusImageFrame *bannerView;
@property (nonatomic,strong)HomeSectionOne *sectionOne;
@property (nonatomic,strong)HomeSectionTwo *sectionTwo;
@property (nonatomic,strong)HomeSectionThree *sectionThree;
@property (nonatomic,strong)HomeSectionFour *sectionFour;
@property (nonatomic, weak) id<HomeFirstPageHeaderViewDelegate> delegate;
-(instancetype)initWithHomeFirstPageInfo:(HomeFirstPageInfo *)pageInfo;
@end
